package com.atguigu.gmall.search.repo;

import com.atguigu.gmall.search.bean.Person;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/12/12 18:07
 * @Version 1.0
 */
public interface PersonRepository extends CrudRepository<Person,Long> {
    List<Person> findAllByAgeGreaterThanEqual(int i);
}
